import babel from 'rollup-plugin-babel'
import resolve from '@rollup/plugin-node-resolve'

export default {
    input:'./src/index.js',
    output:{
        file:'./dist/vue.js',
        name:'Vue',// global.vue
        format:'umd',// esm es6 commomjs life umd (commonjs amd)
        sourcemap:true
    },
    plugins:[
        babel({
            exclude:'node_modules/**'
        }),
        resolve()
    ]
}